package com.qf.j2112.service;

import com.qf.j2112.po.TourArea;
import com.qf.j2112.utils.PageUtil;

import java.util.List;

public interface TourAreaService {

    int countArea();

    List<TourArea> findAll(PageUtil pageUtil);

    List<TourArea> findUsefulTourArea();

    TourArea findOneByAid(int aid);

    TourArea addTourArea(TourArea area);

    boolean deleteTourArea(int aid);

    boolean updateTourArea(TourArea area);

    boolean banTourArea(int aid,String status);
}
